#version 450 core

layout(location = 0) in vec3 aPosition;

uniform mat4 uTransform = mat4(1);

out vec3 fragPos;

void main() {
    vec4 pos = uTransform * vec4(aPosition, 1);
    fragPos = aPosition;
    gl_Position = pos.xyww;
}